//
//  YMUserLocationTool.m
//  PinGJByOwnerSide
//
//  Created by lantaiyuan on 2017/11/14.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#import "YMUserLocationTool.h"

@implementation YMUserLocationTool
+ (double)lat{
    return [YMSaveTool doubleForKey:USER_LATITUDE];
}

+ (double)lon{
    return [YMSaveTool doubleForKey:USER_LONGITUDE];
}

+ (NSString *)latitude{
    NSString * lat = [NSString stringWithFormat:@"%.6f",[YMSaveTool doubleForKey:USER_LATITUDE]];
    return lat;
}

+ (NSString *)longitude{
    NSString * lon = [NSString stringWithFormat:@"%.6f",[YMSaveTool doubleForKey:USER_LONGITUDE]];
    return lon;
}
@end
